import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element'
import './plugins/avue'

import axios from 'axios'
// const lodash = require('lodash')
// Vue.use(lodash)

// import EleForm from 'vue-ele-form'
// Vue.use(EleForm)

Vue.config.productionTip = false

const http = axios.create({
  baseURL: process.env.VUE_APP_API_URL,
})

Vue.prototype.$httpajax = http
Vue.prototype.$http = http

new Vue({
  router,
  render: (h) => h(App),
}).$mount('#app')
